package com.ttsx.core.common.exception;

import com.ttsx.core.common.result.ResultCodeEnum;

/**
 * 天天生鲜自定义异常类
 *
 * @author wb
 * @since 2025-03-01
 */
public class TTSXException extends RuntimeException {

    public TTSXException(String message) {
        super(message);
    }

    public TTSXException(ResultCodeEnum resultCodeEnum){
        super(resultCodeEnum.getMessage());
    }
}
